//created by Joanna Tan

Ext.define("MajorProjectSenchaTouch.view.SearchModule.BasicSearch",{
    
	
	extend: 'Ext.Container', 
    id: 'basecon',
    xtype: 'basicsearchpanel',
    requires:[

    'MajorProjectSenchaTouch.view.SearchModule.BasicFilter',

	'Ext.form.FieldSet'
    ],

        
    config:{
			
	
        cls: 'backgroundRightArrowPanel',
        styleHtmlContent: true,
        layout: {
            fullscreen: true
        },
        items: [
		// {
            // xtype: 'toolbar'
        // },
		{
            xtype: 'spacer',
            height: 10
        },
		
		// {
			// xtype: 'panel',
			// id: 'announcementsPanel',
			
			// items: [
				// {     
					// html: ['<header class="basicTitle">Announcements</header>']
				// },
				// {
				
					 // xtype: 'announcementsPage'
				// }
			// ]
		// },
		
		{
            xtype: 'spacer',
            height: 10
        },
		
		{
            xtype: 'basicfilter'
        },
		
        
        {
            xtype: 'spacer',
            height: 10
        },
		
        {
            xtype: 'button',
            id: 'advanceSearchBtn',
            pressedCls:'mainbtnClicked',
            text: '<div class="advanceh3">Advanced Search</div><div class="advancesub">Refine search with more options</div>',
            iconAlign: 'right',
            iconCls: 'code3',
            iconMask: true,
            action: 'goAdvanceSearchPan'
        },
		
		{
            xtype: 'button',
            id: 'mainNewArrivalsBtn',
            pressedCls:'mainbtnClicked',
            text: '<div class="mainbtntext">New Arrivals</div>',
            iconAlign: 'right',
            iconCls: 'code3',
            iconMask: true,
            action: 'goNewArrivalsPage'
        },

        {
            xtype: 'button',
            id: 'maineresourcesBtn',
            pressedCls:'mainbtnClicked',
            text: '<div class="mainbtntext">eResources</div>',
            iconAlign: 'right',
            iconCls: 'code3',
            iconMask: true,
            action: 'goEResourcespage'
        },
        {
            xtype: 'button',
            id: 'mainexampaperBtn',
            pressedCls:'mainbtnClicked',
            text: '<div class="mainbtntext">Exam Papers</div>',
            iconAlign: 'right',
            iconCls: 'code3',
            iconMask: true,
            action: 'goExamPaperpage'
        },
        {
            xtype: 'button',
            id: 'mainmyaccBtn',
            pressedCls:'mainbtnClicked',
            text: '<div class="mainbtntext">My Account</div>',
            iconAlign: 'right',
            iconCls: 'code3',
            iconMask: true,
            action: 'goMyAccpage'
        },
		{
            xtype: 'spacer',
            height: 10
        },
		{
            xtype: 'button',
            id: 'mainAddResourcesBtn',
            pressedCls:'mainbtnClicked',
            text: '<div class="mainbtntext">Additional Resources</div>',
            iconAlign: 'right',
            iconCls: 'code3',
            iconMask: true,
            action: 'goAddResourcespage'
        },
		
		

        ],
		
		
    }
});